ShowWinCtl = Ext.extend(CmpControler, {

			bulidComponent : function() {

				var config = this.getCommonConfig();

				config = this.configItems(config);

				config = this.configButtons(config);

				var win = new Ext.Window(config);

				return win;
			},
			getCommonConfig : function() {

				var config = {
					width : 800,
					height : 600,
					//frame : true,
					layout : 'fit',
					title : '发布',
					closeAction : 'hide'
				};

				return config;

			},
			configItems : function(config) {

				var cafc = cf.getC('csfc');

				config.items = cafc.getComponent();

				return config;
			},
			configButtons : function(config) {

				config.buttons = [{
							text : '确定',
							handler : function() {
								this.cmp.hide();
							},
							scope : this
						}];

				config.buttonAlign = 'center'

				return config;

			},
			show : function(id) {

				this.load(id);
				this.cmp.show();

			},
			load : function(id) {
				var items = this.items;
				for (var i = 0; i < items.length; i++) {
					items[i].load(id);
				}
			}

		});
